<!doctype html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1.0">
		<title>Document</title>

		<script src="js/jquery-1.12.1.js"></script>
		<!-- <script src="js/ex50206.js"></script> -->
		<script>
			$(function() {
				var input1 = $("#input1");
				alert(input1.attr("type"));
			})
		</script>
	</head>
	<body>
		<input type="text" name="userName" value="请输入用户名" id="input1">
	</body>
</html>
